<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    
    

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html class="supernova"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="alternate" type="application/json+oembed" href="https://www.jotform.com/oembed/?format=json&amp;url=http%3A%2F%2Fwww.jotform.com%2Fform%2F61124634075450" title="oEmbed Form"><link rel="alternate" type="text/xml+oembed" href="https://www.jotform.com/oembed/?format=xml&amp;url=http%3A%2F%2Fwww.jotform.com%2Fform%2F61124634075450" title="oEmbed Form">
<meta property="og:title" content="表格" >
<meta property="og:url" content="http://www.jotform.me/form/61124634075450" >
<meta property="og:description" content="Please click the link to complete this form.">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<meta name="HandheldFriendly" content="true" />
<title>新增</title>
<link href="https://cdn.jotfor.ms/static/formCss.css?3.3.12743" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet" href="https://cdn.jotfor.ms/css/styles/nova.css?3.3.12743" />
<link type="text/css" media="print" rel="stylesheet" href="https://cdn.jotfor.ms/css/printForm.css?3.3.12743" />
<link type="text/css" rel="stylesheet" href="https://cdn.jotfor.ms/themes/CSS/566a91c2977cdfcd478b4567.css?"/>
<style type="text/css">
    .form-label-left{
        width:150px !important;
    }
    .form-line{
        padding-top:12px;
        padding-bottom:12px;
    }
    .form-label-right{
        width:150px !important;
    }
    body, html{
        margin:0;
        padding:0;
        background:false;
    }

    .form-all{
        margin:0px auto;
        padding-top:20px;
        width:650px;
        color:#555 !important;
        font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, sans-serif;
        font-size:14px;
    }
</style>

<script src="https://cdn.jotfor.ms/static/prototype.forms.js" type="text/javascript"></script>
<script src="https://cdn.jotfor.ms/static/jotform.forms.js?3.3.12743" type="text/javascript"></script>
<script type="text/javascript">
   JotForm.init(function(){
      setTimeout(function() {
          $('input_9').hint('ex: 23');
       }, 20);
      JotForm.alterTexts({"alphabetic":"睡到发生的发生的","alphanumeric":"這個表格只能容納字母與數字","ccInvalidCVC":"CVC number is invalid.","ccInvalidExpireDate":"Expire date is invalid.","ccInvalidNumber":"Credit Card Number is invalid.","ccMissingDetails":"請填入信用卡資料","ccMissingDonation":"Please enter numeric values for donation amount.","ccMissingProduct":"Please select at least one product.","characterLimitError":"Too many Characters.  The limit is","characterMinLimitError":"Too few characters. The minimum is","confirmClearForm":"再次確定是否要清除所有填寫資料","confirmEmail":"E-mail 並不符合","currency":"This field can only contain currency values.","cyrillic":"This field can only contain cyrillic characters","dateInvalid":"日期無效。日期格式為{format}","dateLimited":"This date is unavailable.","disallowDecimals":"Please enter a whole number.","email":"輸入一個有效的Email地址","fillMask":"Field value must fill mask.","freeEmailError":"Free email accounts are not allowed","generalError":"错误！烦请更正后再继续。","generalPageError":"There are errors on this page. Please fix them before continuing.","gradingScoreError":"分數的總和應該只能少於或多於","incompleteFields":"蘇","inputCarretErrorA":"輸入的內容不應小於最小值","inputCarretErrorB":"输入不能超过限定的最大值","lessThan":"您的分數應該少於或等於","maxDigitsError":"The maximum digits allowed is","maxSelectionsError":"The maximum number of selections allowed is","minSelectionsError":"The minimum required number of selections is","multipleFileUploads_emptyError":"找不到檔案，請重新選擇","multipleFileUploads_fileLimitError":"Only {fileLimit} file uploads allowed.","multipleFileUploads_minSizeError":"{file} is too small, minimum file size is {minSizeLimit}.","multipleFileUploads_onLeave":"The files are being uploaded, if you leave now the upload will be cancelled.","multipleFileUploads_sizeError":"{file} is too large, maximum file size is {sizeLimit}.","multipleFileUploads_typeError":"{file} has invalid extension. Only {extensions} are allowed.","numeric":"這個表格只能容納數值","pastDatesDisallowed":"日期不应过时","pleaseWait":"请等待...","required":"This field is required.","requireEveryCell":"Every cell is required.","requireEveryRow":"每行都是必须的","requireOne":"At least one field required.","submissionLimit":"Sorry! Only one entry is allowed.  Multiple submissions are disabled for this form.","uploadExtensions":"您只能上傳以下檔案：","uploadFilesize":"檔案大小不能超過","uploadFilesizemin":"File size cannot be smaller than:","url":"This field can only contain a valid URL","wordLimitError":"Too many words. The limit is","wordMinLimitError":"Too few words.  The minimum is"});
	JotForm.clearFieldOnHide="disable";
	JotForm.onSubmissionError="jumpToFirstError";
   });
</script>
</head>
<body>
<form class="jotform-form" action="<c:url value='/admin/bookadd'/>" method="post" enctype="multipart/form-data" name="form_61124634075450" id="61124634075450" accept-charset="utf-8">
  <div class="form-all">
    <ul class="form-section page-section">
      <li class="form-line" data-type="control_textbox" id="id_1">
        <label class="form-label form-label-left form-label-auto" id="label_1" for="input_1"> 书名 </label>
        <div id="cid_1" class="form-input jf-required">
          <input type="text" class=" form-textbox" data-type="input-textbox" id="input_1" name="bname" size="20" value="" />
        </div>
      </li>
      <li class="form-line" data-type="control_textbox" id="id_3">
        <label class="form-label form-label-left form-label-auto" id="label_3" for="input_3"> 作者 </label>
        <div id="cid_3" class="form-input jf-required">
          <input type="text" class=" form-textbox" data-type="input-textbox" id="input_3" name="author" size="20" value="" />
        </div>
      </li>
      <li class="form-line" data-type="control_textbox" id="id_5">
        <label class="form-label form-label-left form-label-auto" id="label_5" for="input_5"> 单价 </label>
        <div id="cid_5" class="form-input jf-required">
          <input type="text" class=" form-textbox" data-type="input-textbox" id="input_5" name="price" size="20" value="" />
        </div>
      </li>
      <li class="form-line" data-type="control_textbox" id="id_6">
        <label class="form-label form-label-left form-label-auto" id="label_6" for="input_6"> 出版社 </label>
        <div id="cid_6" class="form-input jf-required">
          <input type="text" class=" form-textbox" data-type="input-textbox" id="input_6" name="publish" size="20" value="" />
        </div>
      </li>
      <li class="form-line" data-type="control_dropdown" id="id_7">
        <label class="form-label form-label-left form-label-auto" id="label_7" for="input_7"> 分类 </label>
        <div id="cid_7" class="form-input jf-required">
          <select class="form-dropdown" style="width:150px" id="input_7" name="cid">
           	<c:forEach items="${categoryList }" var="c">
           			 <option value="${c.cid }">${c.cname } </option>
			</c:forEach>
          </select>
        </div>
      </li>
      <li class="form-line" data-type="control_number" id="id_9">
        <label class="form-label form-label-left form-label-auto" id="label_9" for="input_9"> ISBN </label>
        <div id="cid_9" class="form-input jf-required">
          <input type="number" class="form-number-input  form-textbox" id="input_9" name="isbn" style="width:145px" size="20" value="" data-type="input-number" />
        </div>
      </li>
      
            <li class="form-line" data-type="control_number" id="id_9">
        <label class="form-label form-label-left form-label-auto" id="label_9" for="input_9"> 库存</label>
        <div id="cid_9" class="form-input jf-required">
          <input type="number" class="form-number-input  form-textbox" id="input_9" name="stock" style="width:145px" size="20" value="" data-type="input-number" />
        </div>
      </li>
      
      
      
      <li class="form-line" data-type="control_fileupload" id="id_8">
        <label class="form-label form-label-left form-label-auto" id="label_8" for="input_8"> 封面 </label>
        <div id="cid_8" class="form-input jf-required">
          <input class="form-upload" type="file" id="input_8" name="file" file-accept="pdf, doc, docx, xls, xlsx, csv, txt, rtf, html, zip, mp3, wma, mpg, flv, avi, jpg, jpeg, png, gif" file-maxsize="1024" file-minsize="0" file-limit="0" />
        </div>
      </li>
      
    <li class="form-line" data-type="control_textarea" id="id_3">
        <label class="form-label form-label-left form-label-auto" id="label_3" for="input_3"> 简介 </label>
        <div id="cid_3" class="form-input jf-required">
          <textarea id="input_3" class="form-textarea" name="sumary" cols="40" rows="6"></textarea>
        </div>
      </li>
      
      
      <li class="form-line" data-type="control_button" id="id_2">
        <div id="cid_2" class="form-input-wide">
          <div style="margin-left:156px" class="form-buttons-wrapper">
            <button id="input_2" type="submit" class="form-submit-button">
              提交
            </button>
          </div>
        </div>
      </li>
      <li style="display:none">
        Should be Empty:
        <input type="text" name="website" value="" />
      </li>
    </ul>
  </div>

</form></body>
</html>
